'use strict';

module.exports = {

	getAuth: function getAuth() {
		return '/auth';
	},

  getAccount: function getAccount() {
    return '/hbUser/getAccount';
  },
  createwxaqrcode: function createwxaqrcode() {
    return '/common/createwxaqrcode';
  },

  getHbTheTopicRecordInfo: function getHbTheTopicRecordInfo() {
    return '/hbTheTopicRecord/getHbTheTopicRecordInfo';
  },

  getHbRecordInfo: function getHbRecordInfo() {
    return '/hbTheTopicRecord/getHbRecordInfo';
  },

  queryPayOrderInfo: function queryPayOrderInfo() {
    return '/hbPayOrder/queryPayOrderInfo';
  },

  addAnswerRecord: function addAnswerRecord() {
    return '/hbAnswerRecord/addAnswerRecord';
  },

  registerUser: function registerUser() {
    return '/hbUser/registerUser';
	},
	/**
	 * 获取openid
	 */
	getOpenId : function getOpenId() {
		return '/api/wxchat/getOpenId';
	},

  /**
 * 随机获取题库
 */
  getRandomHbQuestions: function getRandomHbQuestions() {
    return '/hbQuestions/getRandomHbQuestions';
  },
	/**
	 * 获取题库
	 */
  getHbQuestions: function getHbQuestions() {
    return '/hbQuestions/getHbQuestions';
  },
  

  /**
 * 获取用户信息
 */
  registerUser: function registerUser() {
    return '/hbUser/registerUser';
  },
	/**
	 * 获取发送记录
	 */
	getSendRecords : function getSendRecords() {
    return '/hbTheTopicRecord/getSendRecords';
	},
	/**
	 * 获取faq列表
	 */
	queryFaqs : function queryFaqs() {
    return '/hpFaq/getfqDetailList';
	},
  	/**
	 * 生成红包
	 */
  prepay:function prepay(){
    return '/hbPayOrder/payOrderInfo';
	},
	/**
	 * 提现
	 */
	applyCashback : function applyCashback(){
    return '/hbPayment/applyCashback';
	},
  
	/*
	 * 我收到的红包
	 */
	getReceivedRecords : function getReceivedRecords(){
    return '/hbAnswerRecord/getReceivedRecords';
	},
	/**
	 * 红包详情
	 */
	getRedBagDetail:function getRedBagDetail(){
    return '/hbTheTopicRecord/getHbTheTopicRecordInfo';
	},
	/**
	 * 领取红包
	 */
	getReceive:function getReceive(){
		return '/api/redpacket/receive';
	}
};
